package decorator.v2;

import java.io.IOException;

public abstract class MyInputStream {

    int read() throws IOException {
        System.out.println("MyInputStream read...");
        return 0;
    }

    void write(){
        System.out.println("MyInputStream write...");
    }
}
